package kr.co.doriclassic.pro22;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Audition {
	public static void main(String[] args) {
		List<Double> score = new ArrayList<>();
		
		for (int i = 0; i < 10; i++) {
			score.add(Math.random()*10.0);
		}

		Collections.sort(score);
		
		double min = score.get(0);
		double max = score.get(score.size()-1);
		
		System.out.format("최고점수 : %.1f\t최저점수 : %.1f",max, min);
	}
}
